"let g:gutentags_cache_dir = expand('~/.cache/tags')
let g:gutentags_project_root = ['.root', '.git', '.svn', '.hg', '.project','go.mod','.Cargo.toml','tsconfig.js','jsconfig.js']
"let g:gutentags_file_list_command = 'find . -type f'
let g:gutentags_file_list_command = 'cat gtags.list'
let g:gutentags_generate_on_write = 0
let g:gutentags_generate_on_missing = 0
let g:gutentags_generate_on_new = 0
let g:gutentags_exclude_filetypes = [ 'defx', 'denite', 'vista', 'magit' ]
let g:gutentags_ctags_tagfile = '.tags'
let g:gutentags_ctags_extra_args = ['--fields=+niazS', '--extra=+q']
let g:gutentags_ctags_extra_args += ['--c++-kinds=+px']
let g:gutentags_ctags_extra_args += ['--c-kinds=+px']
let g:gutentags_ctags_extra_args += ['--output-format=e-ctags']
nmap <C-_>r :Gtags -r<C-R>=expand("<cword>")<CR><CR>
nmap <silent>gc :GtagsCursor -r<C-R>=expand("<cword>")<CR><CR>
"gtags-------------------------


